/*
 * @Author: duchengdong
 * @Date: 2021-11-05 14:36:40
 * @LastEditors: lizhen
 * @LastEditTime: 2021-12-15 18:12:43
 * @Description: 患者服务
 */
import http from 'utils/request'
import { PageInfo, ResObj } from 'types/config.type'

//1患者管理列表
export const getPatientList = (pageInfo: PageInfo, data: ResObj) => {
    return http({
        url: '/bac/patient/page',
        method: 'post',
        data: { ...pageInfo, ...data },
    })
}

//5用户管理列表 /patientUser/page
export const getPatientUserList = (pageInfo: PageInfo, data: ResObj) => {
    return http({
        url: '/backstage/patientUser/page',
        method: 'post',
        data: {
            ...pageInfo,
            ...data,
        },
    })
}
